%ifndef __NASMX_TAPI32_INC__
%define __NASMX_TAPI32_INC__

IMPORT GetTapi16CallbackMsg, 8
IMPORT LAddrParamsInited, 4
IMPORT LOpenDialAsst, 16
IMPORT LocWizardDlgProc, 16
IMPORT MMCAddProvider, 16
IMPORT MMCConfigProvider, 12
IMPORT MMCGetAvailableProviders, 8
IMPORT MMCGetDeviceFlags, 24
IMPORT MMCGetLineInfo, 8
IMPORT MMCGetLineStatus, 24
IMPORT MMCGetPhoneInfo, 8
IMPORT MMCGetPhoneStatus, 24
IMPORT MMCGetProviderList, 8
IMPORT MMCGetServerConfig, 8
IMPORT MMCInitialize, 16
IMPORT MMCRemoveProvider, 12
IMPORT MMCSetLineInfo, 8
IMPORT MMCSetPhoneInfo, 8
IMPORT MMCSetServerConfig, 8
IMPORT MMCShutdown, 4
IMPORT NonAsyncEventThread, 0
IMPORT TAPIWndProc, 16
IMPORT TUISPIDLLCallback, 16
IMPORT internalConfig, 16
IMPORT internalCreateDefLocation, 4
IMPORT internalNewLocationW, 4
IMPORT internalPerformance, 4
IMPORT internalRemoveLocation, 4
IMPORT internalRenameLocationW, 8
IMPORT lineAccept, 12
IMPORT lineAddProviderA, 12
IMPORT lineAddProviderW, 12
IMPORT lineAddToConference, 8
IMPORT lineAgentSpecific, 20
IMPORT lineAnswer, 12
IMPORT lineBlindTransferA, 12
IMPORT lineBlindTransferW, 12
IMPORT lineClose, 4
IMPORT lineCompleteCall, 16
IMPORT lineCompleteTransfer, 16
IMPORT lineConfigDialogA, 12
IMPORT lineConfigDialogEditA, 24
IMPORT lineConfigDialogEditW, 24
IMPORT lineConfigDialogW, 12
IMPORT lineConfigProvider, 8
IMPORT lineCreateAgentA, 16
IMPORT lineCreateAgentSessionA, 24
IMPORT lineCreateAgentSessionW, 24
IMPORT lineCreateAgentW, 16
IMPORT lineDeallocateCall, 4
IMPORT lineDevSpecific, 20
IMPORT lineDevSpecificFeature, 16
IMPORT lineDialA, 12
IMPORT lineDialW, 12
IMPORT lineDrop, 12
IMPORT lineForwardA, 28
IMPORT lineForwardW, 28
IMPORT lineGatherDigitsA, 28
IMPORT lineGatherDigitsW, 28
IMPORT lineGenerateDigitsA, 16
IMPORT lineGenerateDigitsW, 16
IMPORT lineGenerateTone, 20
IMPORT lineGetAddressCapsA, 24
IMPORT lineGetAddressCapsW, 24
IMPORT lineGetAddressIDA, 20
IMPORT lineGetAddressIDW, 20
IMPORT lineGetAddressStatusA, 12
IMPORT lineGetAddressStatusW, 12
IMPORT lineGetAgentActivityListA, 12
IMPORT lineGetAgentActivityListW, 12
IMPORT lineGetAgentCapsA, 20
IMPORT lineGetAgentCapsW, 20
IMPORT lineGetAgentGroupListA, 12
IMPORT lineGetAgentGroupListW, 12
IMPORT lineGetAgentInfo, 12
IMPORT lineGetAgentSessionInfo, 12
IMPORT lineGetAgentSessionList, 12
IMPORT lineGetAgentStatusA, 12
IMPORT lineGetAgentStatusW, 12
IMPORT lineGetAppPriorityA, 24
IMPORT lineGetAppPriorityW, 24
IMPORT lineGetCallInfoA, 8
IMPORT lineGetCallInfoW, 8
IMPORT lineGetCallStatus, 8
IMPORT lineGetConfRelatedCalls, 8
IMPORT lineGetCountryA, 12
IMPORT lineGetCountryW, 12
IMPORT lineGetDevCapsA, 20
IMPORT lineGetDevCapsW, 20
IMPORT lineGetDevConfigA, 12
IMPORT lineGetDevConfigW, 12
IMPORT lineGetGroupListA, 8
IMPORT lineGetGroupListW, 8
IMPORT lineGetIDA, 24
IMPORT lineGetIDW, 24
IMPORT lineGetIconA, 12
IMPORT lineGetIconW, 12
IMPORT lineGetLineDevStatusA, 8
IMPORT lineGetLineDevStatusW, 8
IMPORT lineGetMessage, 12
IMPORT lineGetNewCalls, 16
IMPORT lineGetNumRings, 12
IMPORT lineGetProviderListA, 8
IMPORT lineGetProviderListW, 8
IMPORT lineGetProxyStatus, 16
IMPORT lineGetQueueInfo, 12
IMPORT lineGetQueueListA, 12
IMPORT lineGetQueueListW, 12
IMPORT lineGetRequestA, 12
IMPORT lineGetRequestW, 12
IMPORT lineGetStatusMessages, 12
IMPORT lineGetTranslateCapsA, 12
IMPORT lineGetTranslateCapsW, 12
IMPORT lineHandoffA, 12
IMPORT lineHandoffW, 12
IMPORT lineHold, 4
IMPORT lineInitialize, 20
IMPORT lineInitializeExA, 28
IMPORT lineInitializeExW, 28
IMPORT lineMakeCallA, 20
IMPORT lineMakeCallW, 20
IMPORT lineMonitorDigits, 8
IMPORT lineMonitorMedia, 8
IMPORT lineMonitorTones, 12
IMPORT lineNegotiateAPIVersion, 24
IMPORT lineNegotiateExtVersion, 24
IMPORT lineOpenA, 36
IMPORT lineOpenW, 36
IMPORT lineParkA, 16
IMPORT lineParkW, 16
IMPORT linePickupA, 20
IMPORT linePickupW, 20
IMPORT linePrepareAddToConferenceA, 12
IMPORT linePrepareAddToConferenceW, 12
IMPORT lineProxyMessage, 24
IMPORT lineProxyResponse, 12
IMPORT lineRedirectA, 12
IMPORT lineRedirectW, 12
IMPORT lineRegisterRequestRecipient, 16
IMPORT lineReleaseUserUserInfo, 4
IMPORT lineRemoveFromConference, 4
IMPORT lineRemoveProvider, 8
IMPORT lineSecureCall, 4
IMPORT lineSendUserUserInfo, 12
IMPORT lineSetAgentActivity, 12
IMPORT lineSetAgentGroup, 12
IMPORT lineSetAgentMeasurementPeriod, 12
IMPORT lineSetAgentSessionState, 16
IMPORT lineSetAgentState, 16
IMPORT lineSetAgentStateEx, 16
IMPORT lineSetAppPriorityA, 24
IMPORT lineSetAppPriorityW, 24
IMPORT lineSetAppSpecific, 8
IMPORT lineSetCallData, 12
IMPORT lineSetCallParams, 20
IMPORT lineSetCallPrivilege, 8
IMPORT lineSetCallQualityOfService, 20
IMPORT lineSetCallTreatment, 8
IMPORT lineSetCurrentLocation, 8
IMPORT lineSetDevConfigA, 16
IMPORT lineSetDevConfigW, 16
IMPORT lineSetLineDevStatus, 12
IMPORT lineSetMediaControl, 48
IMPORT lineSetMediaMode, 8
IMPORT lineSetNumRings, 12
IMPORT lineSetQueueMeasurementPeriod, 12
IMPORT lineSetStatusMessages, 12
IMPORT lineSetTerminal, 28
IMPORT lineSetTollListA, 16
IMPORT lineSetTollListW, 16
IMPORT lineSetupConferenceA, 24
IMPORT lineSetupConferenceW, 24
IMPORT lineSetupTransferA, 12
IMPORT lineSetupTransferW, 12
IMPORT lineShutdown, 4
IMPORT lineSwapHold, 8
IMPORT lineTranslateAddressA, 28
IMPORT lineTranslateAddressW, 28
IMPORT lineTranslateDialogA, 20
IMPORT lineTranslateDialogW, 20
IMPORT lineUncompleteCall, 8
IMPORT lineUnhold, 4
IMPORT lineUnparkA, 16
IMPORT lineUnparkW, 16
IMPORT phoneClose, 4
IMPORT phoneConfigDialogA, 12
IMPORT phoneConfigDialogW, 12
IMPORT phoneDevSpecific, 12
IMPORT phoneGetButtonInfoA, 12
IMPORT phoneGetButtonInfoW, 12
IMPORT phoneGetData, 16
IMPORT phoneGetDevCapsA, 20
IMPORT phoneGetDevCapsW, 20
IMPORT phoneGetDisplay, 8
IMPORT phoneGetGain, 12
IMPORT phoneGetHookSwitch, 8
IMPORT phoneGetIDA, 12
IMPORT phoneGetIDW, 12
IMPORT phoneGetIconA, 12
IMPORT phoneGetIconW, 12
IMPORT phoneGetLamp, 12
IMPORT phoneGetMessage, 12
IMPORT phoneGetRing, 12
IMPORT phoneGetStatusA, 8
IMPORT phoneGetStatusMessages, 16
IMPORT phoneGetStatusW, 8
IMPORT phoneGetVolume, 12
IMPORT phoneInitialize, 20
IMPORT phoneInitializeExA, 28
IMPORT phoneInitializeExW, 28
IMPORT phoneNegotiateAPIVersion, 24
IMPORT phoneNegotiateExtVersion, 24
IMPORT phoneOpen, 28
IMPORT phoneSetButtonInfoA, 12
IMPORT phoneSetButtonInfoW, 12
IMPORT phoneSetData, 16
IMPORT phoneSetDisplay, 20
IMPORT phoneSetGain, 12
IMPORT phoneSetHookSwitch, 12
IMPORT phoneSetLamp, 12
IMPORT phoneSetRing, 12
IMPORT phoneSetStatusMessages, 16
IMPORT phoneSetVolume, 12
IMPORT phoneShutdown, 4
IMPORT tapiGetLocationInfoA, 8
IMPORT tapiGetLocationInfoW, 8
IMPORT tapiRequestDrop, 8
IMPORT tapiRequestMakeCallA, 16
IMPORT tapiRequestMakeCallW, 16
IMPORT tapiRequestMediaCallA, 40
IMPORT tapiRequestMediaCallW, 40

%ifdef UNICODE

%define lineAddProvider lineAddProviderW
%define lineBlindTransfer lineBlindTransferW
%define lineConfigDialog lineConfigDialogW
%define lineConfigDialogEdit lineConfigDialogEditW
%define lineCreateAgent lineCreateAgentW
%define lineCreateAgentSession lineCreateAgentSessionW
%define lineDial lineDialW
%define lineForward lineForwardW
%define lineGatherDigits lineGatherDigitsW
%define lineGenerateDigits lineGenerateDigitsW
%define lineGetAddressCaps lineGetAddressCapsW
%define lineGetAddressID lineGetAddressIDW
%define lineGetAddressStatus lineGetAddressStatusW
%define lineGetAgentActivityList lineGetAgentActivityListW
%define lineGetAgentCaps lineGetAgentCapsW
%define lineGetAgentGroupList lineGetAgentGroupListW
%define lineGetAgentStatus lineGetAgentStatusW
%define lineGetAppPriority lineGetAppPriorityW
%define lineGetCallInfo lineGetCallInfoW
%define lineGetCountry lineGetCountryW
%define lineGetDevCaps lineGetDevCapsW
%define lineGetDevConfig lineGetDevConfigW
%define lineGetGroupList lineGetGroupListW
%define lineGetID lineGetIDW
%define lineGetIcon lineGetIconW
%define lineGetLineDevStatus lineGetLineDevStatusW
%define lineGetProviderList lineGetProviderListW
%define lineGetQueueList lineGetQueueListW
%define lineGetRequest lineGetRequestW
%define lineGetTranslateCaps lineGetTranslateCapsW
%define lineHandoff lineHandoffW
%define lineInitializeEx lineInitializeExW
%define lineMakeCall lineMakeCallW
%define lineOpen lineOpenW
%define linePark lineParkW
%define linePickup linePickupW
%define linePrepareAddToConference linePrepareAddToConferenceW
%define lineRedirect lineRedirectW
%define lineSetAppPriority lineSetAppPriorityW
%define lineSetDevConfig lineSetDevConfigW
%define lineSetTollList lineSetTollListW
%define lineSetupConference lineSetupConferenceW
%define lineSetupTransfer lineSetupTransferW
%define lineTranslateAddress lineTranslateAddressW
%define lineTranslateDialog lineTranslateDialogW
%define lineUnpark lineUnparkW
%define phoneConfigDialog phoneConfigDialogW
%define phoneGetButtonInfo phoneGetButtonInfoW
%define phoneGetDevCaps phoneGetDevCapsW
%define phoneGetID phoneGetIDW
%define phoneGetIcon phoneGetIconW
%define phoneGetStatus phoneGetStatusW
%define phoneInitializeEx phoneInitializeExW
%define phoneSetButtonInfo phoneSetButtonInfoW
%define tapiGetLocationInfo tapiGetLocationInfoW
%define tapiRequestMakeCall tapiRequestMakeCallW
%define tapiRequestMediaCall tapiRequestMediaCallW

%else  ;// ANSI

%define lineAddProvider lineAddProviderA
%define lineBlindTransfer lineBlindTransferA
%define lineConfigDialog lineConfigDialogA
%define lineConfigDialogEdit lineConfigDialogEditA
%define lineCreateAgent lineCreateAgentA
%define lineCreateAgentSession lineCreateAgentSessionA
%define lineDial lineDialA
%define lineForward lineForwardA
%define lineGatherDigits lineGatherDigitsA
%define lineGenerateDigits lineGenerateDigitsA
%define lineGetAddressCaps lineGetAddressCapsA
%define lineGetAddressID lineGetAddressIDA
%define lineGetAddressStatus lineGetAddressStatusA
%define lineGetAgentActivityList lineGetAgentActivityListA
%define lineGetAgentCaps lineGetAgentCapsA
%define lineGetAgentGroupList lineGetAgentGroupListA
%define lineGetAgentStatus lineGetAgentStatusA
%define lineGetAppPriority lineGetAppPriorityA
%define lineGetCallInfo lineGetCallInfoA
%define lineGetCountry lineGetCountryA
%define lineGetDevCaps lineGetDevCapsA
%define lineGetDevConfig lineGetDevConfigA
%define lineGetGroupList lineGetGroupListA
%define lineGetID lineGetIDA
%define lineGetIcon lineGetIconA
%define lineGetLineDevStatus lineGetLineDevStatusA
%define lineGetProviderList lineGetProviderListA
%define lineGetQueueList lineGetQueueListA
%define lineGetRequest lineGetRequestA
%define lineGetTranslateCaps lineGetTranslateCapsA
%define lineHandoff lineHandoffA
%define lineInitializeEx lineInitializeExA
%define lineMakeCall lineMakeCallA
%define lineOpen lineOpenA
%define linePark lineParkA
%define linePickup linePickupA
%define linePrepareAddToConference linePrepareAddToConferenceA
%define lineRedirect lineRedirectA
%define lineSetAppPriority lineSetAppPriorityA
%define lineSetDevConfig lineSetDevConfigA
%define lineSetTollList lineSetTollListA
%define lineSetupConference lineSetupConferenceA
%define lineSetupTransfer lineSetupTransferA
%define lineTranslateAddress lineTranslateAddressA
%define lineTranslateDialog lineTranslateDialogA
%define lineUnpark lineUnparkA
%define phoneConfigDialog phoneConfigDialogA
%define phoneGetButtonInfo phoneGetButtonInfoA
%define phoneGetDevCaps phoneGetDevCapsA
%define phoneGetID phoneGetIDA
%define phoneGetIcon phoneGetIconA
%define phoneGetStatus phoneGetStatusA
%define phoneInitializeEx phoneInitializeExA
%define phoneSetButtonInfo phoneSetButtonInfoA
%define tapiGetLocationInfo tapiGetLocationInfoA
%define tapiRequestMakeCall tapiRequestMakeCallA
%define tapiRequestMediaCall tapiRequestMediaCallA

%endif  ;// UNICODE

%endif  ;// __NASMX_TAPI32_INC__
